<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>京东-逛好店</title>
    <style>
        /* 基础样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Microsoft YaHei", sans-serif;
            padding: 20px;
            background-color: #f5f5f5;
        }

        /* 模块容器 */
        .store-module {
            width: 400px;
            background-color: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            padding: 15px;
            margin: 0 auto;
        }

        /* 标题区域 */
        .module-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .module-title h2 {
            font-size: 18px;
            color: #333;
            font-weight: 700;
        }

        /* 箭头样式及交互 */
        .arrow {
            display: inline-block;
            width: 22px;
            height: 22px;
            border: 2px solid #e53e3e; /* 红色边框（空心箭头） */
            border-radius: 50%;
            position: relative;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .arrow-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 8px;
            height: 8px;
            border-top: 2px solid #e53e3e; /* 红色箭头线条 */
            border-right: 2px solid #e53e3e;
            transform: translate(-30%, -70%) rotate(45deg); /* 调整箭头角度和位置 */
            transition: all 0.3s ease;
        }

        /* 鼠标移入箭头效果（红色背景 + 白色箭头） */
        .arrow:hover {
            background-color: #e53e3e; /* 红色背景 */
        }

        .arrow:hover .arrow-icon {
            border-top-color: #fff; /* 白色箭头线条 */
            border-right-color: #fff;
        }

        /* 店铺列表 */
        .store-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        /* 店铺项样式 */
        .store-item {
            display: flex;
            align-items: center;
            padding: 10px;
            border-radius: 4px;
            background-color: #fafafa;
            transition: background-color 0.2s;
        }

        .store-item:nth-child(2) {
            background-color: #f0f0f0;
        }

        .store-info {
            flex: 1; /* 占满剩余空间 */
            margin-right: 15px;
        }

        .store-info h3 {
            font-size: 16px;
            color: #333;
            margin-bottom: 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .self-operated {
            display: inline-block;
            font-size: 12px;
            color: #e53e3e;
            background-color: #fff1f0;
            border: 1px solid #ffccc7;
            padding: 1px 5px;
            border-radius: 3px;
            margin-bottom: 5px;
        }

        .store-info p {
            font-size: 14px;
            color: #999;
        }

        .store-item img {
            width: 100px;
            height: 100px;
            object-fit: cover; /* 保持图片比例 */
            border-radius: 4px;
        }
    </style>
</head>
<body>
    <div class="store-module">
        <!-- 模块标题区域 -->
        <div class="module-title">
            <h2>逛好店</h2>
            <a href="#" class="arrow">
                <span class="arrow-icon"></span>
            </a>
        </div>
        
        <!-- 店铺列表 -->
        <div class="store-list">
            <!-- 店铺1 -->
            <div class="store-item">
                <div class="store-info">
                    <h3>贝恩施京东自营官方旗舰店</h3>
                    <span class="self-operated">自营</span>
                    <p>277.9万人关注</p>
                </div>
                <!-- 假设store1.jpg在web前端作业文件夹下 -->
                <img src="C:\Users\焦侣玮\Desktop\web前端作业\store1.jpg" alt="贝恩施店铺商品">
            </div>
            
            <!-- 店铺2 -->
            <div class="store-item">
                <div class="store-info">
                    <h3>美宝莲京东自营官方旗舰店</h3>
                    <span class="self-operated">自营</span>
                    <p>192.9万人关注</p>
                </div>
                <!-- 假设store2.jpg在web前端作业文件夹下 -->
                <img src="C:\Users\焦侣玮\Desktop\web前端作业\store2.jpg" alt="美宝莲店铺商品">
            </div>
        </div>
    </div>
</body>
</html>